package com.wxm.pattern.abstractfactory;

public class CatFactory implements IAnimalFactory {
    @Override
    public IEat getEat() {
        return new CatEat();
    }

    @Override
    public ISleep getSleep() {
        return new CatSleep();
    }
}
